package com.cloudkinto.service.orderinput.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;

import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/11/24
 */
@Data
public class OrderInputExcelExportInfoVo {
    @Excel(name = "订单号", needMerge = true)
    private String orderInputNumber;

    /**
     * 入库仓库
     */
    @Excel(name = "入库仓库", needMerge = true)
    private String storageName;

    @Excel(name = "运输/货柜编号", needMerge = true)
    private String carriageTrackNo;

    @Excel(name = "所属店铺", needMerge = true)
    private String shopName;

    @Excel(name = "状态", needMerge = true)
    private String status;

    /**
     * 交付日期
     */
    @Excel(name = "交付日期", needMerge = true)
    private String deliveryDate;

    @Excel(name = "入库时间", needMerge = true)
    private String inputTime;

    /**
     * 运输方式 0散货 1整柜 2空运
     */
    @Excel(name = "运输方式", replace = {"散货_0", "整柜_1", "空运_2"}, needMerge = true)
    private String carriageType;

    /**
     * 发货方式 0 自发头程 1 筋斗云头程
     */
    @Excel(name = "发货方式", replace = {"自发头程_0", "筋斗云头程_1"}, needMerge = true)
    private String sendType;

    /**
     * 总体积
     */
    @Excel(name = "总体积", needMerge = true)
    private Float volume;

    /**
     * 备注
     */
    @Excel(name = "备注", needMerge = true)
    private String tips;

    @ExcelCollection(name = "包裹信息", type = OrderInputExcelExportPackageInfoVo.class)
    private List<OrderInputExcelExportPackageInfoVo> packageInfoVoList;
}
